/*
 * Welcome to use the TableGo Tools.
 * 
 * http://vipbooks.iteye.com
 * http://blog.csdn.net/vipbooks
 * http://www.cnblogs.com/vipbooks
 * 
 * Author:bianj
 * Email:edinsker@163.com
 * Version:5.8.8
 */

package com.ticket.db.entity;

import com.ticket.api.vo.contentMsg;
import lombok.Data;

import java.util.List;

/**
 * tbl_msg_content
 * 
 * @author bianj
 * @version 1.0.0 2019-12-07
 */
@Data
public class TblMsgContent implements java.io.Serializable {
    /** 版本号 */
    private static final long serialVersionUID = -4566513982350710621L;


    public TblMsgContent(){

    }
    public TblMsgContent(String userId1,String userId2){
            this.userId1=userId1;
            this.userId2= userId2;
    }

    private List<contentMsg> list;

    private TblUserInfo user;
    /** id */
    private Integer id;

    /** 用户1 */
    private String userId1;

    /** 用户2 */
    private String userId2;


    private String nickname;


    private String address;


    /** remarks */
    private String remarks;

    /** 0 无效 */
    private Integer status;

    /** createUser */
    private String createUser;

    /** createTime */
    private String createTime;

    /** 最近一次更新用户 */
    private String lastUpdateUser;

    /** 最近一次更新时间 */
    private String lastUpdateTime;

    /**
     * 获取id
     * 
     * @return id
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置id
     * 
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户1
     * 
     * @return 用户1
     */
    public String getUserId1() {
        return this.userId1;
    }

    /**
     * 设置用户1
     * 
     * @param userId1
     *          用户1
     */
    public void setUserId1(String userId1) {
        this.userId1 = userId1;
    }

    /**
     * 获取用户2
     * 
     * @return 用户2
     */
    public String getUserId2() {
        return this.userId2;
    }

    /**
     * 设置用户2
     * 
     * @param userId2
     *          用户2
     */
    public void setUserId2(String userId2) {
        this.userId2 = userId2;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取remarks
     * 
     * @return remarks
     */
    public String getRemarks() {
        return this.remarks;
    }

    /**
     * 设置remarks
     * 
     * @param remarks
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * 获取0 无效
     * 
     * @return 0 无效
     */
    public Integer getStatus() {
        return this.status;
    }

    /**
     * 设置0 无效
     * 
     * @param status
     *          0 无效
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取createUser
     * 
     * @return createUser
     */
    public String getCreateUser() {
        return this.createUser;
    }

    /**
     * 设置createUser
     * 
     * @param createUser
     */
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    /**
     * 获取createTime
     * 
     * @return createTime
     */
    public String getCreateTime() {
        return this.createTime;
    }

    /**
     * 设置createTime
     * 
     * @param createTime
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public List<contentMsg> getList() {
        return list;
    }

    public void setList(List<contentMsg> list) {
        this.list = list;
    }

    public TblUserInfo getUser() {
        return user;
    }

    public void setUser(TblUserInfo user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "TblMsgContent{" +
                "list=" + list +
                ", id=" + id +
                ", userId1='" + userId1 + '\'' +
                ", userId2='" + userId2 + '\'' +
                ", nickname='" + nickname + '\'' +
                ", address='" + address + '\'' +
                ", remarks='" + remarks + '\'' +
                ", status=" + status +
                ", createUser='" + createUser + '\'' +
                ", createTime='" + createTime + '\'' +
                ", lastUpdateUser='" + lastUpdateUser + '\'' +
                ", lastUpdateTime='" + lastUpdateTime + '\'' +
                '}';
    }
}